package jxerializeml.errors.output;

import jxerializeml.errors.JXerializeMLError;

/**
 * Some error while serializing / generating result has occured.
 * 
 * @author Tomáš Zíma
 */
@SuppressWarnings("serial")
public class OutputError extends JXerializeMLError {
	public OutputError(String errorMessage) {
	    super(errorMessage);
    }
	
	public OutputError(String errorMessage, Exception originalException) {
		this(errorMessage);
		this.setOriginalException(originalException);
	}
}
